﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace CnBlogsCore.Model
{
    public class News
    {
        [JsonProperty("Id")]
        public int Id
        {
            get; set;
        }
        [JsonProperty("Title")]
        public string Title
        {
            get; set;
        }
        [JsonProperty("Summary")]
        public string Summary
        {
            get; set;
        }

        [JsonProperty("TopicId")]
        public int TopicId
        {
            get;set;
        }

        [JsonProperty("TopicIcon")]
        public string TopicIcon
        {
            get;set;
        }

        [JsonProperty("ViewCount")]
        public int ViewCount
        {
            get; set;
        }

        [JsonProperty("CommentCount")]
        public int CommentCount
        {
            get;set;
        }

        [JsonProperty("DiggCount")]
        public int DiggCount
        {
            get; set;
        }

        [JsonProperty("DateAdded")]
        public DateTime DateAdded
        {
            get; set;
        }
    }
}
